{empty name="data.list"}
    <p style="text-align: center; ">暂无商品</p>
{else /}
    {volist name="data.list" id="vo"}
        <div style="margin-bottom: 10px;">
            <div class="weui-cell repertory">
                <div class="weui-cell__hd">
                    <img src="{$vo.thumb}" alt="">
                </div>
                <div class="weui-cell__bd">
                    <p>{$vo.product_name}</p>
                    <p>品牌：<span>{$vo.brand_name}</span></p>
                    <p class="inventory">剩余库存：<span class="remainder">{$vo.inventory|default=0}</span>/<span class="totality">50</span>(瓶)</p>
                </div>
                <div class="weui-cell__ft">
                    <a href="{:url('replenishment', ['id' => $vo['id'], 'shop_id' => $shop_id])}" class="repertory-btn" data-product-id="{$vo.id}">补货</a>
                </div>
            </div>
        </div>
    {/volist}
{/empty}